package com.xmy.cultivate.entity.views;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.time.LocalDate;

/**
 * 招生明细
 */
@Data
public class EnrollSummary {

    @ExcelIgnore
    private Long id;

    @ExcelIgnore
    private Long orderId;

    @ExcelIgnore
    private Long studentId;

    @ExcelIgnore
    private Integer yearClassId;

    @ExcelIgnore
    private String yearClassName;
    @ExcelIgnore
    private String studentName;

    @ExcelIgnore
    private Long subjectsId;

    @ExcelIgnore
    private String subjectsName;

    @ExcelIgnore
    private Long schoolId;

    @ExcelIgnore
    private String schoolName;

    @ExcelIgnore
    private Long teacherId;

    @ExcelProperty(value = "教师", index = 0)
    private String teacherName;

    @ExcelIgnore
    private LocalDate addDate;

    /**
     * 邀约人
     */
    @ExcelIgnore
    private String inviteNames;

    /**
     * 试听人
     */
    @ExcelIgnore
    private String auditionNames;

    /**
     * 成交人
     */
    @ExcelIgnore
    private String bargainNames;

    //类型：邀约:1，试听:2，成交:3
    @ExcelIgnore
    private Integer type;

    //邀约:1，试听:2，成交:3
    @ExcelIgnore
    private String typeName;

    //0未核对，1已核对
    @ExcelIgnore
    private Integer checkType;

    //数据： 1 或 0.5 ，最多两人
    @ExcelIgnore
    private double dataNum;

    //总人次
    @ExcelIgnore
    private Integer peopleTotal;

    //已核对
    @ExcelIgnore
    private Integer verifiedNum;

    //未核对
    @ExcelIgnore
    private Integer notVerifiedNum;

    //金额
    @ExcelIgnore
    private double pushMoney;

    //总招生提成
    @ExcelProperty(value = "总招生提成", index = 1)
    private double commissionTotal;

    //总可发放
    @ExcelProperty(value = "总可发放", index = 2)
    private double distributionTotal;

    //总不可发放
    @ExcelProperty(value = "总不可发放", index = 3)
    private double distributionNotTotal;

    //总冻结
    @ExcelProperty(value = "总冻结", index = 4)
    private double freezeTotal;

    //总已发放
    @ExcelProperty(value = "总已发放", index = 5)
    private double issuedTotal;

    //总未发放
    @ExcelProperty(value = "总未发放", index = 6)
    private double issuedNotTotal;

}
